package com.fau.wmbj.server.flowable.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serial;
import java.io.Serializable;

/**
 * 模型视图对象
 */
@Getter
@Setter
@Entity(name = "ACT_RE_MODEL")
public class ActModel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 模型id
     */
    @Id
    @Column(name = "ID_")
    private String id;

    /**
     * 模型名称
     */
    @Column(name = "NAME_")
    private String name;

    /**
     * 模型标识key
     */
    @Column(name = "KEY_")
    private String key;

    /**
     * 模型分类
     */
    @Column(name = "CATEGORY_")
    private String categoryCode;


    /**
     * 备注
     */
    @Column(name = "META_INFO_")
    private String description;


    /**
     * 模型XML
     */
    @Transient
    private String xml;
}
